You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have added basic funtionlity of linked list and also added some of your functions, Reversing a linked list , Merge sort , with a lot of basic functionality.
If you add my pull request I am also willing to update the README.md
Hi,
Really glad to hear, you are interested in our repository 👍 . Can you make the code interactive, by adding the main function to test if the code works as expected? You can comment it out later.
Also in your code with respect to the void swap(int *A, int *B) function, can you please change it, to swap two nodes using pointers instead, as that is more efficient, in all general cases as well, as compared to swapping the values of the variables, which may not be as efficient in case of a large structure type.
Hello, Sorry for the delay.
I updated a swap function that swaps the pointers instead of actual data and also added a main function to test some of the functionality of the program. I had to make some changes to make the main function running and now the thing works without creating any problems, Just check it out and tell me if it was my first contribution to the open-source!
Also, tell me if you want me to turn that readme into the semi-instruction manual. ;)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.